package com.atguigu.gmall.feign.product.fallback;

import com.atguigu.gmall.common.result.Result;
import com.atguigu.gmall.feign.product.SkuDetailFeignClient;
import com.atguigu.gmall.item.vo.CategoryView;
import com.atguigu.gmall.item.vo.SkuInfoDetailVo;
import com.atguigu.gmall.product.entity.SkuInfo;
import com.atguigu.gmall.product.entity.SpuSaleAttr;
import com.atguigu.gmall.product.vo.AttrValueConcatVo;
import lombok.extern.slf4j.Slf4j;

import java.util.List;

@Slf4j
public class SkuDetailFeignClientFallback implements SkuDetailFeignClient {

    @Override
    public Result<CategoryView> findCategoryViewBySkuId(Long skuId) {
        log.info("SkuDetailFeignClientFallback...findCategoryViewBySkuId...方法执行了");
        return Result.ok();
    }

    @Override
    public Result<SkuInfo> findSkuInfoAndImageBySkuId(Long skuId) {
        log.info("SkuDetailFeignClientFallback...findSkuInfoAndImageBySkuId...方法执行了");
        return Result.ok();
    }

    @Override
    public Result<List<SpuSaleAttr>> findSpuSaleAttrAndSaleAttrValue(Long skuId) {
        log.info("SkuDetailFeignClientFallback...findSpuSaleAttrAndSaleAttrValue...方法执行了");
        return Result.ok();
    }

    @Override
    public Result<List<AttrValueConcatVo>> findAttrValueConcatBySkuId(Long skuId) {
        log.info("SkuDetailFeignClientFallback...findAttrValueConcatBySkuId...方法执行了");
        return Result.ok();
    }

    @Override
    public Result<List<Long>> findAllSkuIds() {
        log.info("SkuDetailFeignClientFallback...findAllSkuIds...方法执行了");
        return Result.ok();
    }

    @Override
    public Result<SkuInfoDetailVo> findSkuInfoDetail(Long skuId) {
        log.info("SkuDetailFeignClientFallback...findSkuInfoDetail...方法执行了");
        return Result.ok();
    }

    @Override
    public Result<SkuInfo> findSkuInfoBySkuId(Long skuId) {
        log.info("SkuDetailFeignClientFallback...findSkuInfoBySkuId...方法执行了");
        return Result.ok();
    }

}
